﻿using System;
using System.Globalization;

namespace BLL.Services.Responses
{
    public class BookResponse
    {
        public string Content { get; set; }

        public DateTime DateOfPublish { get; set; }

        public DateTime ParentCommentDateOfPublish { get; set; }

        public string Login { get; set; }

        public string Avatar { get; set; }

        public string Date
        {
            get { return DateOfPublish.ToString(CultureInfo.InvariantCulture); }
        }
    }
}
